package com.spzx.cart.service;

import com.spzx.cart.api.domain.CartInfo;

import java.util.List;

/**
 * ClassName: CartService
 * Description:
 *
 * @Author linz
 * @Creat 2025/3/17 19:14
 * @Version 1.00
 */
public interface CartService {
    void addToCart(Long skuId, Integer skuNum);

    List<CartInfo> getCartList();

    void deleteCart(Long skuId);

    void checkCart(Long skuId, Integer isChecked);

    void clearCart();

    void allCheckCart(Integer isChecked);

    List<CartInfo> getCartCheckedList();

    Boolean deleteCartCheckedList(Long userId);

    Boolean updateCartPrice();
}
